package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.content.model.po.CourseTeacher;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: CourseTeacherService
 * Package: com.xuecheng.content.service
 * Description:
 *
 * @Author 看到风
 * @Create 2024/7/30 21:50
 * @Version 1.0
 */

public interface CourseTeacherService extends IService<CourseTeacher> {

    /**
     * 课程教师查询接口
     * @param courseId 课程id
     * @return
     */
    List<CourseTeacher> findAllcourseTeacher(Long courseId);

    /**
     * 课程教师添加、修改接口
     * @param courseTeacher 教师基本信息
     * @return CourseTeacher 教师基本信息
     */
    CourseTeacher saveCourseTeacher(CourseTeacher courseTeacher);

    /**
     * 课程教师删除接口
     * @param courseId   课程id
     * @param courseTeacherId 教师id
     * @return
     */
    void deleteCourseTeacher(Long courseId, Long courseTeacherId);
}
